home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.mactech.com 2010
/
ftp.mactech.com.tar
/
ftp.mactech.com
/
machack
/
Hacks97
/
WarriorsProgress.sit
/
Warrior’s Progress
/
source code
/
Source
/
Libraries
/
Debug
/
Assert.h
< prev
next >
Wrap
Text File
|
1997-06-28
|
412b
|
22 lines
// Assert.h
#ifndef Assert_h
#define Assert_h
#ifndef DebugMessage_h
#include "DebugMessage.h"
#endif
#include "ConfigureAssertions.h"
extern DebugMessage AssertionMessage( const int8 *file,
uint32 line,
const int8 *condition );
#define Assert( condition ) \
{ \
if ( useAssertions && !(condition) ) \
AssertionMessage( __FILE__, __LINE__, #condition ).Show(); \
}
#endif